<%--
  Created by IntelliJ IDEA.
  User: 12460
  Date: 2024/11/30
  Time: 10:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>分别输出脚本变量和作用域的变量值</title>
</head>
<body>
    <%
        int m =5;
        //加入到作用域
        request.setAttribute("num",6);
    %>
    输出m: <%=m %>  <hr>
    输出作用域的值: <%= request.getAttribute("num") %>
</body>
</html>
